/*
 * @Author: Lakeiedward
 * @Date: 2022-02-26 17:53:29
 * @LastEditTime: 2022-02-28 18:44:59
 * @FilePath: \demo2\src\main.js
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";

Vue.prototype.axios = axios;
Vue.config.productionTip = false;
Vue.use(ElementUI);
axios.interceptors.response.use(
  (res) => {
    return res;
  },
  (err) => {
    return err;
  }
);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
